/* ========== 全局 ========== */
body {
    background: #f5f7fa;
    overflow: hidden;
}

.navbar-title {
    font-size: 1.25rem;
    font-weight: 500;
}

/* ========== 头像缩写圆 ==========
   可保留在 main.css，也可移到独立的 login.css 或通用样式里 */
.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #5c7cfa;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ========== 导航栏 ========== */
.navbar-dark.bg-primary {
    background: #3b5bdb !important; /* 深蓝色背景 */
}

/* 导航栏按钮突出样式 */
.icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #3b5bdb; /* 白色背景 */
    margin: 0 4px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn i {
    color: #fff !important;
}

.navbar-light .navbar-title,
.navbar-light .navbar-brand {
    color: #3b5bdb; /* 深蓝色标题 */
}

/* 日期栏容器：占满宽度，定位上下文 */
#date-bar {
    position: relative;
    width: 100%;
    height: 2.5rem;
    background-color: #fff;
    border: 0px solid #ced4da;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 通用按钮样式 */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6rem;
    height: 2rem;
    border: none;
    background: none;
    color: #495057;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nav-btn:hover {
    background-color: #f1f3f5;
    border-radius: 0.25rem;
}

/* 左右定位 */
#prev-day {
    left: 0.5rem;
}

#next-day {
    right: 0.5rem;
}

/* 中间显示区：绝对居中 */
.date-display-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    text-align: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #343a40;
    min-width: 8rem;
    user-select: none;
}

/* 显示文字 */
#display-date {
    display: inline-block;
}

/* 隐藏原生 input，但保留覆盖点击 */
.date-display-container input[type="date"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    padding: 0;
    margin: 0;
}
